package com.atguigu07._abstract;

/**
 * ClassName: AbstractTest
 * Package: com.atguigu07._abstract
 * Description:
 *
 * @Author ZY
 * @Create 23:11
 * @Version 1.0
 */
public class AbstractTest {
    public static void main(String[] args) {

//        Person p1 = new Person(); //抽象类不能实例化
//        p1.eat(); // 抽象方法不能调用

        Student s1 = new Student();
        s1.eat();

    }
}
